# auto_publish/urls.py
from django.urls import path
from .views import VideoListView,PublishVideoView, TaskStatusView

urlpatterns = [
    path('publish/', PublishVideoView.as_view(), name='publish_video'),
    path('task/<int:task_id>/', TaskStatusView.as_view(), name='task_status'),
    path('videos/', VideoListView.as_view(), name='video_list'),  # 新增视频列表接口
]
